package com.nexus.core.auth;

import com.nexus.core.enums.BaseEnum;
import lombok.Getter;

/**
 * 登录用户类型
 * @Date 2025/8/1 10:46
 * @Author luzhengning
 **/
@Getter
public enum LoginUserType implements BaseEnum<Integer> {
    SYS_USER(1, "系统用户"),
    APP_USER(2, "APP用户");

    private final Integer value;
    private final String name;


    LoginUserType(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getName() {
        return this.name;
    }

}
